﻿using System;
using System.Web;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Diagnostics;
using System.Web.Mvc;

namespace FilstartupsREST.Models
{
    public class Category
    {
        [Key]
        public int catidPK { get; set; }

        public string categoryname { get; set; }
        public int pageidFK { get; set; }
        public int routingidFK { get; set; }
    }

    public class CategoryPost
    {
        public int catidFK { get; set; }
        public int postidPK { get; set; }
        public string postdescription { get; set; }
        public int pageidFK { get; set; }
        public string posttitle { get; set; }
    }
}